home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950329-19950528
/
000395_news@columbia.edu_Tue May 16 06:26:05 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-07-31
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19499
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 17 May 1995 03:20:02 -0400
Received: by apakabar.cc.columbia.edu id AA06471
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 17 May 1995 03:19:58 -0400
Path: news.columbia.edu!panix!news.mathworks.com!gatech!news.sprintlink.net!ralph.vnet.net!!root
From: root@.com (System Administrator)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HELP Call Complete but it isn't
Date: 16 May 1995 06:26:05 GMT
Organization: LittleToNone
Lines: 100
Message-Id: <3p9ghu$5ab@ralph.vnet.net>
References: <3p85se$khb@ralph.vnet.net>
Nntp-Posting-Host: jazzmin.vnet.net
X-Newsreader: TIN [version 1.2 PL2+color]
Apparently-To: kermit.misc@watsun.cc.columbia.edu
Hi,
Me again :) I managed to get the script to work so I am showing what
I changed in case anyone else would want to use the script.
flatlndr@vnet.net wrote:
: Hi,
: I'm having some trouble with a kermit script. The phone dials
: fine but after the modem's train and connect kermit spits out "Call
: Complete" and ignores the rest of the script. The script I'm using is below.
: Thanks for any help.
: Dan Compton The Flatlander flatlndr@vnet.net
: flatlndr@cyberspace.com
: danc@bigsky.dillon.mt.us
: root%bvhd@bigsky.dillon.mt.us
: SET MODEM-DIALER hayes
: SET LINE /dev/cua0
: SET SPEED 57600
Cahnged this to 38400
: SET PARITY none
: SET DUPLEX full
: SET FLOW rts/cts
: SET FILE TYPE bin
: SET FILE NAME lit
: SET REC PACK 1000
: SET SEND PACK 1000
: SET WINDOW 5
: SET INPUT CASE ignore
: SET INPUT TIMEOUT-ACTION proceed
: SET OUTPUT PACING 10
: SET PROMPT Termnet>
: SET DIAL DISPLAY on
: SET DIAL HANGUP on
: SET DIAL MNP on
: SET DIAL MODEM-HANGUP
: SET DIAL SPEED-MATCHING off
: SET DIAL TIMEOUT 45
: SET DIAL INIT-STRING AT &F &C1 &D0 M0 \13
added Q0 to the init string
: ; Somehwere in here is where I think it is bombing
: :BEGIN
: CLEAR
: DIAL 5551234
: INPUT 10 CONNECT
: IF FAILURE GOTO BEGIN
: ELSE GOTO LOGIN
Commented out the above 3 lines
: :LOGIN
: INPUT 10 ogin:
Changed this to the very first thing my remote host spits out. Also added a
PAUSE 3 line after this.
: IF FAILURE GOTO BEGIN
: ELSE OUTPUT username\13
: INPUT 10 assword:
: IF FAILURE GOTO BEGIN
: ELSE OUTPUT password\13
: INPUT 10 $
: IF FAILURE GOTO BEGIN
: ELSE OUTPUT rlogin jazzmin.vnet.net -l flatlndr -8 -L\13
: INPUT 10 assword:
: IF FAILURE GOTO BEGIN
: ELSE OUTPUT jazzminpassword\13
: OUTPUT \13
: PAUSE 2
: OUTPUT net\13
: PAUSE 1
: QUIT
: ;
: ; If modem not working exit.
: ;
: :END
: ECHO Modem Initialization Failure...
: ECHO Exiting Program...
: QUIT
: ; Done!
That's it! :) I'm going to now poke around and try to add this to my
.profile file so the connection is made whenever I login. And then add some
crontab entries to get and send the mail. If anyone is interested drop an
e-mail to me and I'll get back to ya.
Dan Compton The Flatlander flatlndr@vnet.net
flatlndr@cyberspace.com
danc@bigsky.dillon.mt.us
root%bvhd@bigsky.dillon.mt.us